package com.bo.libnet.net_ui;

import android.app.Activity;

/**
 * Created by ZJB on 2018/1/31.
 *
 * @ copyright: iwhere chengdu technology
 * 网络请求的UI 相关
 *     loading UI
 *     Error UI
 *
 */

public class NetUiImpl implements NetUi{

//    private RxDialogAcfunVideoLoading loadingDialog;
    private RxDialogShapeLoading loadingDialog;
    public NetUiImpl(Activity mActiviy) {
//        loadingDialog = new RxDialogAcfunVideoLoading(mActiviy);
        loadingDialog = new RxDialogShapeLoading(mActiviy);
    }


    @Override
    public void showLoadingUi() {
        loadingDialog.show();
    }

    @Override
    public void hideLoadingUi() {
//        loadingDialog.dismiss();
    }

    @Override
    public void showErrorUi() {
    }

    @Override
    public void hideErrorUi() {

    }
}
